import request from '@/utils/request'


/**
 * 分页查询资讯
 * @param query
 * @returns {AxiosPromise}
 */
export function pageIndustryInformation(data) {
  return request({
    url: '/api/industry/information/page',
    method: 'post',
    data: data
  })
}


/**
 * 详情接口
 * @param query
 * @returns {AxiosPromise}
 */
export function detailIndustryInformation(data) {
  return request({
    url: '/api/industry/information/detail',
    method: 'post',
    data: data
  })
}


/**
 * 添加资讯
 * @param query
 * @returns {AxiosPromise}
 */
export function addIndustryInformation(data) {
  return request({
    url: '/api/industry/information/add',
    method: 'post',
    data: data
  })
}


/**
 * 删除资讯
 * @param query
 * @returns {AxiosPromise}
 */
export function delIndustryInformation(data) {
  return request({
    url: '/api/industry/information/delete',
    method: 'post',
    data: data
  })
}


/**
 * 更新资讯
 * @param query
 * @returns {AxiosPromise}
 */
export function updateIndustryInformation(data) {
  return request({
    url: '/api/industry/information/update',
    method: 'post',
    data: data
  })
}

